package Graph.AdMatrix;

import Graph.AdList.ArcNode;

public class VNode {
    public Object data;
    public ArcNode firstArc;

    public VNode() {
        this(null,null);
    }
    public VNode(Object data){
        this(data,null);
    }
        public VNode(Object data,ArcNode firtArc){
        this.data = data;
        this.firstArc=firtArc;

    }
}
